package com.dgy.roomEval.service.impl;

import com.dgy.roomEval.domain.RoomEvalRecord;
import com.dgy.roomEval.mapper.RoomEvalRecordMapper;
import com.dgy.roomEval.service.IRoomEvalRecordService;
import com.ruoyi.common.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


/**
 * 教学评价记录Service业务层处理
 * 
 * @author ccc
 * @date 2025-02-12
 */
@Service
public class RoomEvalRecordServiceImpl implements IRoomEvalRecordService
{
    @Autowired
    private RoomEvalRecordMapper roomEvalRecordMapper;


    /**
     * 新增内务检查评价记录
     * 
     * @param roomEvalRecord
     * @return 结果
     */
    @Override
    public long insertRoomEvalRecord(RoomEvalRecord roomEvalRecord)
    {
        roomEvalRecord.setCreateTime(DateUtils.getNowDate());
        return roomEvalRecordMapper.insertRoomEvalRecord(roomEvalRecord);
    }


}
